package org.itboys.admin.entity.lasted.process;

import org.mongodb.morphia.annotations.Entity;
import org.itboys.mongodb.entity.BaseMongoEntity;
/**
 * 作者：jiangxiong
 * 日期：2017年2月27日
 * 联系方式 ：empty90911@126.com
 * 描述：系统_流程（审核）_模板_节点
 */

@Entity(value = "SystemProcessTemplateNode", noClassnameStored = true)
public class SystemProcessTemplateNode extends BaseMongoEntity {

	private Long templateId;//流程模板ID
	private Long userId;//人员ID
	private String userName;//人员名称。动态查询
	private Integer sequence;//优先级。按小至大，分配任务
	private String desc;//备注
	public SystemProcessTemplateNode() {
	}

	public SystemProcessTemplateNode(Long templateId, Long userId, Integer sequence) {
		this.templateId = templateId;
		this.userId = userId;
		this.sequence = sequence;
	}


	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
}
